import request from '@/utils/request'

export function getAll(param) {
  return request({
    url: '/mesTechnologyType/GetAll',
    method: 'get',
    params: param
  })
}

export function getList(param) {
  return request({
    url: '/mesTechnologyType/list',
    method: 'get',
    params: param
  })
}

export function create(param) {
  return request({
    url: '/mesTechnologyType/save',
    method: 'post',
    data: param
  })
}

export function update(param) {
  return request({
    url: '/mesTechnologyType/save',
    method: 'post',
    data:param
  })
}
export function deleteBatch(param) {
  let url ='/mesTechnologyType/deleteBatch'
  return request({
    url: url,
    method: 'delete',
    data: param
  })
}


